@Echo Off
Set Demos=BerkeliumSharpDemos
Rd /S/Q %Demos%
Mkdir %Demos%
Mkdir %Demos%\Content
MsBuild BerkeliumTest\BerkeliumTest.csproj /t:Rebuild /p:Configuration=Debug
MsBuild BerkeliumXnaTest\BerkeliumXnaTest.csproj /t:Rebuild /p:Configuration=Debug
copy bin\BerkeliumSharp.dll %Demos%\
copy bin\BerkeliumSharp.pdb %Demos%\
copy bin\BerkeliumSharp.xml %Demos%\
copy bin\nunit.framework.dll %Demos%\
copy bin\AutomatedTests.exe %Demos%\
copy BerkeliumTest\bin\x86\debug\berkeliumtest.exe %Demos%\
copy BerkeliumXnaTest\bin\x86\debug\berkeliumxnatest.exe %Demos%\
copy BerkeliumXnaTest\bin\x86\debug\Content\*.* %Demos%\Content
copy BerkeliumTest\bin\x86\debug\*.html %Demos%\
copy BerkeliumXnaTest\bin\x86\debug\*.html %Demos%\
copy BerkeliumTest\bin\x86\debug\*.png %Demos%\
copy BerkeliumXnaTest\bin\x86\debug\*.png %Demos%\
del BerkeliumSharpDemos.zip
del BerkeliumSharpDemos.7z
ext\7z.exe a -tzip -r BerkeliumSharpDemos.zip BerkeliumSharpDemos\**.*
ext\7z.exe a -t7z -r BerkeliumSharpDemos.7z BerkeliumSharpDemos\**.*
echo Uploading BerkeliumSharpDemos.zip...
ext\googlecode_upload.py --summary="Pre-compiled versions of the Windows Forms and XNA BerkeliumSharp demos (Zip)" --project="berkelium-sharp" --labels="Featured,Type-Archive,OpSys-Windows" BerkeliumSharpDemos.zip
echo Uploading BerkeliumSharpDemos.7z...
ext\googlecode_upload.py --summary="Pre-compiled versions of the Windows Forms and XNA BerkeliumSharp demos (7z)" --project="berkelium-sharp" --labels="Featured,Type-Archive,OpSys-Windows" BerkeliumSharpDemos.7z